//package io.iec.edp.caf.rpc.test;
//
//import io.iec.edp.caf.rpc.api.annotation.GspServiceBundle;
//import io.iec.edp.caf.rpc.api.annotation.RpcParam;
//import io.iec.edp.caf.rpc.api.annotation.RpcService;
//import io.iec.edp.caf.rpc.api.annotation.RpcServiceMethod;
//import io.iec.edp.caf.rpc.api.support.ConstanceVarible;
//import org.apache.cxf.transport.http.HttpServletRequestSnapshot;
//
//import javax.servlet.http.HttpServletResponse;
//import java.io.InputStream;
//import java.io.StreamCorruptedException;
//
//@GspServiceBundle(applicationName = "sys", serviceUnitName= "sys")
//@RpcService
//public interface ITestRpc {
//
//    @RpcServiceMethod(serviceId ="io.iec.edp.rpc.test.normalRpc")
//    String normalRpc(@RpcParam(paramName = "param1")String param1, @RpcParam(paramName = "param2")String param2) throws Exception;
//
//    @RpcServiceMethod(serviceId ="io.iec.edp.rpc.test.streamUploadRpc")
//    String streamUploadRpc(@RpcParam(paramName = ConstanceVarible.RPC_INPUT_STREAM)InputStream stream, @RpcParam(paramName = "param1")String param1, @RpcParam(paramName = "param2")String param2) throws Exception;
//
//    @RpcServiceMethod(serviceId ="io.iec.edp.rpc.test.streamRpc")
//    String streamRpc(@RpcParam(paramName = ConstanceVarible.RPC_HTTP_RESPONSE,isResponseParam = true)HttpServletResponse response , @RpcParam(paramName = "param1")String param1, @RpcParam(paramName = "param2")String param2) throws Exception;
//
//}
